package com.ruoyi.common.pay.ali;

/**说明：
	 *以下代码只是为了方便商户测试而提供的样例代码，商户可以根据自己网站的需要，按照技术文档编写,并非一定要使用该代码。
	 *该代码仅供学习和研究支付宝接口使用，只是提供一个参考。
	 *商户配置文件:
	 */
//	@Component
//	@ConfigurationProperties(prefix = "pay")
	public class AlipayConfig {

		//↓↓↓↓↓↓↓↓↓↓请在这里配置您的基本信息↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓

	    /**
	     *合作身份者ID，签约账号，以2088开头由16位纯数字组成的字符串，查看地址：https://openhome.alipay.com/platform/keyManage.htm?keyType=partner
	     */
	    public static final String SELLER_ID = "2088831947390732";

	    /**
	     *商户的私钥,需要PKCS8格式，RSA公私钥生成：https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7629140.0.0.nBDxfy&treeId=58&articleId=103242&docType=1
	     */
	    public static final String PRIVATE_KEY = "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCanXYkPOCO31DY6WYbCoGSlI/ihaQSQoIsUOnEP706pFL6hItZWO0h8RWThzvOgdtMPYH910d7DTQlhONYmgWF9Yd91NagQmTdyHIxagXBu9pBM5foY9CJBn4HFQh60ZbrffaHEaXfDXAX6Gx0bIh/YojWEukwcRe5k2urMzy/r3sRwl7wWmONlCEllTbRTQvt3971eNjlxiltQ7OHJR1l0wBYJ3qK6OPGKEu7J1tc4w8QL4EuKHTWHseP04NjMk3k297FneKSdA0ClI0IuVNkYcz5TIONnQ5djtnEI/A+DAbB/12c/1KBCBmdMYKhMnZfYusjrwUkxphElVj/rda5AgMBAAECggEAQBXcDhEdkpqFTCMRq0ujgToKmX2DD/55Lh0rh6hTqqbJrgSaLaJqR5NBujBnXaT9XJBx/ODqQ9qpLpPyF5tfhrLKQiGiBDMA09xtWIX1dOOEB1p3MF+O4/zI5+6T4TRWNa20LS/nbJiJSZ+QtID34rTYusKD3QxDJSwxiHhoSZqxnv9Ii5jPH19GGEyxYkfvL9IpVlh9sgiNFeNe6DgwklppVYJ9k+0sA3V7/6cTA+/1GA0DRs7ksHnjHA6QOUknM0clIeVuiVqZ37i4IMK7oXIXYtmzN8xLY+e80iMxFklmLnwhsqjawoWOqpBrIRRS8EI8SbYSoN93geM4bW37wQKBgQDHGMgbDVYzyBEv2fS6Y4XSsDjJyNS5uXp/02tS26lezWWMLkeAZtWjkJOjVFbZ5G6wEZ036yabA4KTE4YZaD593fYIOKU/yMQOm7jJKu07ye4JGTYc7Na8SsMv6yNLDBKACARPOcmSrJutOXSAK8oRN2kAr9e+cvKzJRWgQIBClQKBgQDGzhuOT6VttLa5brvzhe32VL+JgJzYivgYvww9uohw4McP9z/jAolkxPc9jsgv8Ps9tTsjHTblLOhk+7PL185Mr8u10eURLQvBYuA2+pvC0jo7U/7SIChD0nSAU13gjdGZzV9xA5/HCSiYayKzNJykmDoIf1qb7/hhz9HNxos+lQKBgHubdyDUduBPJdx/hODzSPI1VgxxEyD7doJF0CvxFIY3HwSY9utQ7PJPoFmW0xUULWRCi0lcROuYkkidpnO/tIyQcV9JS8795jrrkx3R+NdV1uLvNBlhMTBVejkV0yOUqyex0nsddXgKkdxJ/3pTtXBa5mX2xgsHcoamT3belMLBAoGBAK3ESzupjBwG38vW6Tti7eroin4iR3XSiiX/HzD5UPbw0a233ESM3BCTRNOucHXO+ZsnRGhdybSo+vwBMVdT6sMGyVTEAKdxqxu+U+JaTDkOTc27jjiV2PvnAOOFesGi0/jOFMUQeOCctbn7stnWe7A2SktRHZ69Mmo0Htrw1pa9AoGBAMJQoWoW2/uZu3I7L0g4QEpfVRWT7fjktHsj/SmjyY/haMe/en0k+IzbB22pFh3/jNtuImJ6Loidg2C76nUVHd4gjV7Fb5j3xeBW2kvM4O8p3yZUxTOZQP5CcgH5PGbNrq6Q50/MYEI+/ECYZsNjYq0O4Qttk5eGubVeKzFPuv/I";

	    /**
	     *支付宝的公钥，查看地址：https://openhome.alipay.com/platform/keyManage.htm?keyType=partner
	     */
	    public static final String ALIPAY_PUBLIC_KEY ="MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmp12JDzgjt9Q2OlmGwqBkpSP4oWkEkKCLFDpxD+9OqRS+oSLWVjtIfEVk4c7zoHbTD2B/ddHew00JYTjWJoFhfWHfdTWoEJk3chyMWoFwbvaQTOX6GPQiQZ+BxUIetGW6332hxGl3w1wF+hsdGyIf2KI1hLpMHEXuZNrqzM8v697EcJe8FpjjZQhJZU20U0L7d/e9XjY5cYpbUOzhyUdZdMAWCd6iujjxihLuydbXOMPEC+BLih01h7Hj9ODYzJN5NvexZ3iknQNApSNCLlTZGHM+UyDjZ0OXY7ZxCPwPgwGwf9dnP9SgQgZnTGCoTJ2X2LrI68FJMaYRJVY/63WuQIDAQAB" ;

	    /**
	     * 签名方式
	     */
	    public static final String SIGN_TYPE = "RSA2";
	    /**
	     * 调试用，创建TXT日志文件夹路径，见AlipayCore.java类中的logResult(String sWord)打印方法
	     */
	    public static final String LOG_PATH = "C://";
	    /**
	     * 字符编码格式 目前支持 gbk 或 utf-8
	     */
	    public static final String CHARSET = "utf-8";
	    /**
	     * 接收通知的接口名(支付回调回调地址)
	     */
	    public static final String NOTIFY_URL = "/alipayNotify";
	    /**
	     * 活动支付回调地址
	     */
	    public static final String ACTION_NOTIFY_URL = "/actionAlipayNotify";
	    /**
	     * 接收通知的接口名(回调地址)
	     */
	    public static final String REFUND_NOTIFY_URL = "/alirefundNotify";
	    /**
	     * APPID
	     */
	    public static final String APP_ID = "2021001172659772";

		//↑↑↑↑↑↑↑↑↑↑请在这里配置您的基本信息↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑

	}
